package HomeWork_20190329;

public class HomeWork_03 {

	public static void main(String[] args) {
		Calculator ca = new Calculator();
		System.out.println(ca.calAbs(-1));
		System.out.println(ca.calAbs(-1.0f));
		System.out.println(ca.calAbs(-3.0d));
	}

}

class Calculator{
	public int calAbs(int number){
		return Math.abs(number);
	}
	public float calAbs(float number){
		return Math.abs(number);
	}
	public double calAbs(double number){
		return Math.abs(number);
	}
	
}
